.class public Ldata/CxAdapter;
.super Landroid/widget/BaseAdapter;
.source "CxAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ldata/CxAdapter$ViewHolder;
    }
.end annotation


# instance fields
.field private context:Landroid/content/Context;

.field id:Ljava/lang/String;

.field mData:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;)V
    .locals 0
    .param p1, "context"    # Landroid/content/Context;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    .line 27
    .local p2, "mData":Ljava/util/List;, "Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;"
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 28
    iput-object p1, p0, Ldata/CxAdapter;->context:Landroid/content/Context;

    .line 29
    iput-object p2, p0, Ldata/CxAdapter;->mData:Ljava/util/List;

    .line 31
    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 35
    iget-object v0, p0, Ldata/CxAdapter;->mData:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .param p1, "arg0"    # I

    .prologue
    .line 41
    const/4 v0, 0x0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .param p1, "arg0"    # I

    .prologue
    .line 47
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 5
    .param p1, "position"    # I
    .param p2, "convertView"    # Landroid/view/View;
    .param p3, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 52
    const/4 v0, 0x0

    .line 53
    .local v0, "holder":Ldata/CxAdapter$ViewHolder;
    if-nez p2, :cond_0

    .line 55
    new-instance v0, Ldata/CxAdapter$ViewHolder;

    .end local v0    # "holder":Ldata/CxAdapter$ViewHolder;
    invoke-direct {v0}, Ldata/CxAdapter$ViewHolder;-><init>()V

    .line 57
    .restart local v0    # "holder":Ldata/CxAdapter$ViewHolder;
    iget-object v2, p0, Ldata/CxAdapter;->context:Landroid/content/Context;

    invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    .line 58
    const v3, 0x7f030099

    const/4 v4, 0x0

    .line 57
    invoke-virtual {v2, v3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 60
    const v2, 0x7f0c02fc

    invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    .line 59
    iput-object v2, v0, Ldata/CxAdapter$ViewHolder;->im_evaluater_icon:Landroid/widget/ImageView;

    .line 62
    const v2, 0x7f0c02fd

    invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 61
    iput-object v2, v0, Ldata/CxAdapter$ViewHolder;->tv_return_message:Landroid/widget/TextView;

    .line 63
    invoke-virtual {p2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 69
    :goto_0
    new-instance v1, LPlugclass/ImageLoader;

    iget-object v2, p0, Ldata/CxAdapter;->context:Landroid/content/Context;

    invoke-direct {v1, v2}, LPlugclass/ImageLoader;-><init>(Landroid/content/Context;)V

    .line 70
    .local v1, "imageLoader":LPlugclass/ImageLoader;
    iget-object v2, p0, Ldata/CxAdapter;->mData:Ljava/util/List;

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/Map;

    const-string v3, "logo"

    invoke-interface {v2, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 71
    iget-object v3, v0, Ldata/CxAdapter$ViewHolder;->im_evaluater_icon:Landroid/widget/ImageView;

    .line 70
    invoke-virtual {v1, v2, v3}, LPlugclass/ImageLoader;->DisplayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    .line 72
    iget-object v3, v0, Ldata/CxAdapter$ViewHolder;->tv_return_message:Landroid/widget/TextView;

    iget-object v2, p0, Ldata/CxAdapter;->mData:Ljava/util/List;

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/Map;

    .line 73
    const-string v4, "name"

    .line 72
    invoke-interface {v2, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 75
    return-object p2

    .line 66
    .end local v1    # "imageLoader":LPlugclass/ImageLoader;
    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    .end local v0    # "holder":Ldata/CxAdapter$ViewHolder;
    check-cast v0, Ldata/CxAdapter$ViewHolder;

    .restart local v0    # "holder":Ldata/CxAdapter$ViewHolder;
    goto :goto_0
.end method
